package oo.Day05;

public class nigthText {
    public static void main(String[] args) {

        int a = di(100);
        System.out.println(a);
    }

    public static int di(int n){

        if(n == 1){
            return 1;
        }else {
            return n+di(n-1);
        }
    }
}

class Moo{

    static int a;
    static void test(){
        System.out.println(a);
    }

}
